package com.traffic.api.service.impl;

import com.traffic.api.dao.CardFlowInfoMapper;
import com.traffic.api.entity.CardFlowInfo;
import com.traffic.api.service.CardFlowInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by churcy on 2017/3/2.
 */
@Service
public class CardFlowInfoServiceImpl extends BaseServiceImpl<CardFlowInfo, Integer> implements CardFlowInfoService {

    @Autowired
    private CardFlowInfoMapper cardFlowInfoMapper;

    @Override
    public List<CardFlowInfo> findByConditions(Map<String, Object> conditions) {
        return cardFlowInfoMapper.findByConditions(conditions);
    }
}
